import { createApp } from 'vue'
import router from "./router";
import { Button, Search, Icon, Swipe, SwipeItem, Grid, GridItem, CountDown, Tabbar, TabbarItem, List, Image as VanImage } from "vant";
import "vant/lib/index.css" //vant的css

import service from './utils/service';

import './style.css' // 全局css
import App from './App.vue'

const app = createApp(App)

app.config.globalProperties.$http = service;

app.use(router)
app.use(Button)
app.use(Search)
app.use(Icon)
app.use(Swipe)
app.use(SwipeItem)
app.use(Grid);
app.use(GridItem);
app.use(CountDown);
app.use(Tabbar);
app.use(TabbarItem);
app.use(List);
app.use(VanImage);



app.mount('#app')
